import request from '@/utils/request'

export default {
    updateNotice(message1,message2,message3){
        const req = request({
            method: 'put',
            url: '/dgut/updateNotice',
            params:{
                codes:sessionStorage.getItem("codes"),
                message1,
                message2,
                message3
            }
        })
        return req;
    },
    getAllNotice(){
        const req = request({
            method: 'get',
            url: '/dgut/getAllNotice'
        })
        return req;
    }
}